<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ include file="/WEB-INF/jsp/sys/css.jsp"%>
<%@ include file="/WEB-INF/jsp/sys/uploader.jsp" %>
<%@page import="com.centit.util.RequestUtil" %>
<html lang="zh-cmn-Hans">
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/modules/util/static/ztree/css/metroStyle/metroStyle.css">
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/modules/util/static/plugin/css/index.css">
<script type="text/javascript" src="${pageContext.request.contextPath}/modules/util/static/ztree/js/jquery.ztree.all.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/modules/util/static/plugin/js/selectTree.js"></script>
<script type="text/javascript"	src="${pageContext.request.contextPath}/modules/airplanebaseinfo/airplanebaseinfo/ctrl/airplanebaseinfo.edit.js"></script>
<style type="text/css">
.layui-form-select{
width: 80%;
float: left;
}
.layui-input, .layui-select, .layui-textarea{
border-width: 0px;
}
</style>

</head>
<body>
	<form class="layui-form" action="" style="padding: 10px"
		lay-filter="azdbqryForm">
		<input type="hidden" name="recId" id="recId" value="${object.recId}">

		<table class="viewTable">
			<tr>
				<th >关联计划</th>
				<td colspan="3">
				
					<select id="gljh" style="width: 200px" name="gljh" lay-verify="required" lay-search="" disabled="disabled">
						<option value="">--直接选择或搜索选择--</option>
					</select>
					<input type="hidden" id="gljhid" value="${object.gljh}"/>
					<button class="layui-btn" style="float: left;margin-left: 20px" type="button" onclick="jhserch()" >计划详情</button>
				</td>
			</tr>
			<tr>
				<%-- <th >登记时间</th>
				<td>
					<input type="text" name="djsj" id="djsj" class="layui-input" lay-verify="required" value="${object.djsj}" readonly="readonly">
				</td> --%>
				<th >航空器出厂序号</th>
				<td>
					<input type="text" name="ccxlh" id="ccxlh" class="layui-input" lay-verify="required" value="${object.ccxlh}" readonly="readonly">
				</td>
				<th >注册号</th>
				<td>
					<input type="text" name="zch" id="zch" class="layui-input" lay-verify="required" value="${object.zch}" readonly="readonly">
				</td>
			</tr>
			
			<tr>
				<th >东航机队号/FSN</th>
				<td>
					<input type="text" name="fsn" id="fsn" class="layui-input" lay-verify="required" value="${object.fsn}" readonly="readonly">
				</td>
				<th >国籍标志和登记标志</th>
				<td>
					<input type="text" name="sign" id="sign" class="layui-input" lay-verify="required" value="${object.sign}" readonly="readonly">
				</td>
				
			</tr>
			<tr>
				<th >航空器型号</th>
				<td>
					<input type="text" name="airModel" id="airModel" class="layui-input" lay-verify="required" value="${object.airModel}" readonly="readonly">
				</td>
				<th >航空器制造厂商</th>
				<td>
					<input type="text" name="airZzs" id="airZzs" class="layui-input" lay-verify="required" value="${object.airZzs}" readonly="readonly">
				</td>
				
			</tr>
			<tr>
				<th >出厂日期</th>
				<td>
					<input type="text" name="proctionDate" id="proctionDate" class="layui-input" lay-verify="required" value="${object.proctionDate}" disabled="disabled">
				</td>
				<th >调机日期</th>
				<td>
					<input type="text" name="useDate" id="useDate" class="layui-input" lay-verify="required" value="${object.useDate}" disabled="disabled">
				</td>
			</tr>
			<tr>
				<th >加入运归日期</th>
				<td>
					<input type="text" name="jrygrq" id="jrygrq" class="layui-input" lay-verify="required" value="${object.jrygrq}" disabled="disabled">
				</td>
				<th >退出运规日期</th>
				<td>
					<input type="text" name="tcygrq" id="tcygrq" class="layui-input" lay-verify="required" value="${object.tcygrq}" disabled="disabled">
				</td>
			</tr>
			<tr>
				<th >注销日期</th>
				<td>
					<input type="text" name="offDate" id="offDate" class="layui-input"  value="${object.offDate}" disabled="disabled">
				</td>
				<th >APU型号</th>
				<td>
					<input type="text" name="apu" id="apu" class="layui-input" lay-verify="required" value="${object.apu}" readonly="readonly">
				</td>
			</tr>
			<tr>
				<th >Engine serie</th>
				<td>
					<input type="text" name="engineS" id="engineS" class="layui-input" lay-verify="required"  value="${object.engineS}" readonly="readonly">
				</td>
				<th >Engine</th>
				<td>
					<input type="text" name="engine" id="engine" class="layui-input" lay-verify="required" value="${object.engine}" readonly="readonly">
				</td>
			</tr>
			<tr>
				<th >1st engine SN（出厂序号）</th>
				<td>
					<input type="text" name="oneSn" id="oneSn" class="layui-input" lay-verify="required"  value="${object.oneSn}" readonly="readonly">
				</td>
				<th >2nd engine SN（出厂序号）</th>
				<td>
					<input type="text" name="twoSn" id="twoSn" class="layui-input" lay-verify="required" value="${object.twoSn}" readonly="readonly">
				</td>
			</tr>
			<tr>
				<th >HUD</th>
				<td>
					<input type="text" name="hud" id="hud" class="layui-input" lay-verify="required"  value="${object.hud}" readonly="readonly">
				</td>
				<th >WIFI</th>
				<td>
					<input type="text" name="wifi" id="wifi" class="layui-input" lay-verify="required" value="${object.wifi}" readonly="readonly">
				</td>
			</tr>
			<tr>
				<th >最大起飞重量(吨)</th>
				<td>
					<input type="text" name="maxZl" id="maxZl" class="layui-input" lay-verify="required"  value="${object.maxZl}" readonly="readonly">
				</td>
				<th >国籍登记证编号</th>
				<td>
				<input type="text" name="gjNo" id="gjNo" class="layui-input" lay-verify="required"  value="${object.gjNo}" readonly="readonly">
				</td>
			</tr>
			<tr>
				<th >国籍登记证签发日期</th>
				<td>
					<input type="text" name="gjDate" id="gjDate" class="layui-input" lay-verify="required"  value="${object.gjDate}" disabled="disabled">
				</td>
				<th >本证发给</th>
				<td>
				<input type="text" name="bzfj" id="bzfj" class="layui-input" lay-verify="required"  value="${object.bzfj}" readonly="readonly">
				</td>
			</tr>
			<tr>
				<th >所有人名称</th>
				<td>
					<input type="text" name="haveName" id="haveName" class="layui-input" lay-verify="required"  value="${object.haveName}" readonly="readonly">
				</td>
				<th >所有人地址</th>
				<td>
				<input type="text" name="haveAddr" id="haveAddr" class="layui-input" lay-verify="required"  value="${object.haveAddr}" readonly="readonly">
				</td>
			</tr>
			<tr>
				<th >运营人</th>
				<td>
					<input type="text" name="yyName" id="yyName" class="layui-input" lay-verify="required"  value="${object.yyName}" readonly="readonly">
				</td>
				<th >运营人地址</th>
				<td>
				<input type="text" name="yyAddr" id="yyAddr" class="layui-input" lay-verify="required"  value="${object.yyAddr}" readonly="readonly">
				</td>
			</tr>
			<tr>
				<th >标准适航证编号</th>
				<td>
					<input type="text" name="shNo" id="shNo" class="layui-input" lay-verify="required"  value="${object.shNo}" readonly="readonly">
				</td>
				<th >标准适航证签发日期</th>
				<td>
				<input type="text" name="qfDate" id="qfDate" class="layui-input" lay-verify="required"  value="${object.qfDate}" disabled="disabled">
				</td>
			</tr>
			<tr>
				<th >选择呼叫代码</th>
				<td>
					<input type="text" name="hjNo" id="hjNo" class="layui-input" lay-verify="required"  value="${object.hjNo}" readonly="readonly">
				</td>
				<th >航空器地址编码（S模式）HEX</th>
				<td>
				<input type="text" name="addrNoHex" id="addrNoHex" class="layui-input" lay-verify="required"  value="${object.addrNoHex}" readonly="readonly">
				</td>
			</tr>
			<tr>
				<th >选择呼叫代码</th>
				<td>
					<input type="text" name="hjNo" id="hjNo" class="layui-input" lay-verify="required"  value="${object.hjNo}" readonly="readonly">
				</td>
				<th >航空器地址编码（S模式）OCT</th>
				<td>
				<input type="text" name="addrNoOct" id="addrNoOct" class="layui-input" lay-verify="required"  value="${object.addrNoOct}" readonly="readonly">
				</td>
			</tr>
			<tr>
				<th >电台执照序号</th>
				<td>
					<input type="text" name="dtNo" id="dtNo" class="layui-input" lay-verify="required"  value="${object.dtNo}" readonly="readonly">
				</td>
				<th >电台执照有效期限</th>
				<td>
				<input type="text" name="dtyxDate" id="dtyxDate" class="layui-input" lay-verify="required"  value="${object.dtyxDate}" readonly="readonly">
				</td>
			</tr>
			<tr>
				<th >电台执照颁发日期</th>
				<td>
					<input type="text" name="dtbfDate" id="dtbfDate" class="layui-input" lay-verify="required"  value="${object.dtbfDate}" disabled="disabled">
				</td>
				<th >座位布局</th>
				<td>
				<input type="text" name="zwbj" id="zwbj" class="layui-input" lay-verify="required"  value="${object.zwbj}" readonly="readonly">
				</td>
			</tr>
		</table>
		<!-- <div style="text-align: center; margin-top: 20px">
			<button class="layui-btn layui-btn-primary" onclick="CloseWin()">关闭</button>
		</div> -->
	</form>
	<script>
var basePath= "${pageContext.request.contextPath}";
</script>

 <script type="text/javascript">
 window.UploaderPath='${cp:SYS_VALUE("uploaderpath")}/';
	index = setInterval(setUpload, '1000');
	function setUpload() {
	    try {
	    	  if (typeof $('#ghFj', null).uploader === "function") { 
	              clearInterval(index);
	              $('#ghFj', null).uploader({
	                  UploaderPath: window.UploaderPath,           
	                  ViewContextPath: window.UploaderPath,
	                  info: {
	                      optId: 'applyAdd'    
	                  }
	              });
	          } else { 
	          }
	    	 	 //如果是查看的需要去除附件中的操作按钮
	            $(".centit-uploader").find("button").remove();//只读时候去除上传按钮，编辑新增此行代码去掉
	            $("#i_select_files_upload_demo_0").find("button").remove();
	            $("#i_select_files_upload_demo1_0").find("button").remove(); 
	      } catch (e) {
	      }
	  }
	
	function jhserch(){
		var recId = $("#gljhid").val();
		 var index = layui.layer.open({
             title : "查看",
             type : 2,
             skin:'layui-layer-molv',
             area:['80%','100%'],
             offset: 't',
             content : basePath + '/service/jdghgl/jdghgl/'+recId+"/view",
             success : function(layero, index){
                 setTimeout(function(){
                     layer.style(index, {
                         top: 0,
                         height: window.innerHeight
                     });
                 },100);
             }
         });
         //layui.layer.full(index);
	}
 </script>
</body>
</html>
